package com.rm.zeyou.vo.response;/**
 *
 */

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Description: 优惠券列表
 * @author : YanYang
 * @date : 2023/7/26 15:39
 */
@Data
public class SelectCouponResponseVo {

    private Integer id;

    private Integer tId;

    private String technicianAvatar;

    @ApiModelProperty("优惠券名称")
    private String couponName;
    @ApiModelProperty("评分")
    private BigDecimal mark;

    @ApiModelProperty("（满多少）")
    private BigDecimal couponFull;

    @ApiModelProperty("（减多少）")
    private BigDecimal couponSubtract;

    @ApiModelProperty("优惠券数量")
    private Integer couponTotal;

    @ApiModelProperty("优惠券限制用户领取次数")
    private Integer couponLimitReceiveTotal;

    @ApiModelProperty("适用范围(0=全场通用 其他=技师id)")
    private Long couponScopeApplication;

    @ApiModelProperty("领取后有效时间（天）")
    private String validTime;

    @ApiModelProperty("过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date closeDate;

    private String distance;

    private Integer isCanServer;
}
